
<div class="x_panel">
  <div class="x_content row">
    <div class="col-xs-12">
      <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post" enctype="multipart/form-data">
        <div class="form-group">
          <label class="control-label col-md-2 col-sm-4 col-xs-12">商城名称：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[mall_name]" value="">
          </div>

          <label class="control-label col-md-2 col-sm-4 col-xs-12">合作商：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <select required="required" class="form-control" name="form[partner_id]">
              <option value="0">请选择</option>
              {foreach $partner AS $key => $value}
              <option value="{$value.partner_id}">{$value.partner_name}</option>
              {/foreach}
            </select>
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">状态：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class=""  type="radio" name="form[mall_status]" value="1" checked="checked">是
            <input class=""  type="radio" name="form[mall_status]" value="0">否
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">商城LOGO：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-12 com-xs-12">
            <input required="required" type="file" name="mall_logo">
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">商城风格：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class=""  type="radio" name="form[mall_style]" value="0" checked="checked">列表
            <input class=""  type="radio" name="form[mall_style]" value="1">一行2列
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">首页广告图：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-12 com-xs-12">
            <input required="required" type="file" name="adv_pic">
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">首页广告链接：</label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class="form-control col-md-3 col-xs-12" type="text" name="form[adv_link]" value="">
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">主题色：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[mall_color]" value="">
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">隐藏标题栏：<b style="color:red">*</b></label>
          <div class="checkbox col-md-10 col-sm-8 col-xs-12">
            <input class="" required="required" type="checkbox" name="form[hide_title]" value="1">
          </div>


        </div>
        <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
          <button class="btn btn-primary" type="submit">添加</button>
        </div>
      </form>
    </div>
  </div>
</div>
